/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package testandooteamcity;

/**
 *
 * @author SDanilo
 */
public class Fatorial {

    static int fatorialRecursivo(int n)  {

        if (n == 0)
            return 1;

        return fatorialRecursivo(n-1) * n;
    }

}
